package control;

import java.awt.Checkbox;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JCheckBox;

import model.ProxyExecution;

public class ComparisonListener implements ActionListener {

	private ProxyExecution execution;
	private Checkbox[] checks;

	public ComparisonListener(ProxyExecution execution, Checkbox[] checks) {
		this.execution = execution;
		this.checks = checks;
	}

	@Override
	public void actionPerformed(ActionEvent e) {

		Object src = e.getSource();
		
		
		
		for (int i = 0; i < checks.length; i++) {
			//checks[i].getSta
		}
		//System.out.println(src + " " + checks[0].getName());

//		for (int i = 0; i < checks.length; i++) {
//
//			if (src.equals(checks[i].getName())) {
//				execution.setActives(i, true);
//			}
//		}

	}

}
